<?php
$go = true;
$i=0;
$result = $database->($clip, $sound);
$row = mysql_get_assoc($result);
$s[0] = $row['one'];
$s[1] = $row['two'];
$s[2] = $row['three'];
$s[3] = $row['four'];
if($s[0] == 1){
  echo "<embed src=\"sounds/$file\" autostart=\"true\" loop=\"false\" HEIGHT=\"60\" WIDTH=\"144\"></embed>";
  usleep(1500000);
} else if($s[0] == 2){
  usleep(1000000);
  echo "<embed src=\"sounds/$file\" autostart=\"true\" loop=\"false\" HEIGHT=\"60\" WIDTH=\"144\"></embed>";
  usleep(1000000);
} else if($s[0] == 3){
  usleep(1500000);
  echo "<embed src=\"sounds/$file\" autostart=\"true\" loop=\"false\" HEIGHT=\"60\" WIDTH=\"144\"></embed>";
  usleep(500000);
} else if($s[0] == 4){
  usleep(2000000);
  echo "<embed src=\"sounds/$file\" autostart=\"true\" loop=\"false\" HEIGHT=\"60\" WIDTH=\"144\"></embed>";
}
?>
